3.1727 \(\int \frac{1}{\sqrt{a+\frac{b}{x}} x^4} \, dx\)

Optimal. Leaf size=57 \[ -\frac{2 a^2 \sqrt{a+\frac{b}{x}}}{b^3}-\frac{2 \left (a+\frac{b}{x}\right )^{5/2}}{5 b^3}+\frac{4 a \left (a+\frac{b}{x}\right )^{3/2}}{3 b^3} \]

[Out]

(-2*a^2*Sqrt[a + b/x])/b^3 + (4*a*(a + b/x)^(3/2))/(3*b^3) - (2*(a + b/x)^(5/2))
/(5*b^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.0776676, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133 \[ -\frac{2 a^2 \sqrt{a+\frac{b}{x}}}{b^3}-\frac{2 \left (a+\frac{b}{x}\right )^{5/2}}{5 b^3}+\frac{4 a \left (a+\frac{b}{x}\right )^{3/2}}{3 b^3} \]

Antiderivative was successfully verified.

[In]  Int[1/(Sqrt[a + b/x]*x^4),x]

[Out]

(-2*a^2*Sqrt[a + b/x])/b^3 + (4*a*(a + b/x)^(3/2))/(3*b^3) - (2*(a + b/x)^(5/2))
/(5*b^3)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 9.91601, size = 48, normalized size = 0.84 \[ - \frac{2 a^{2} \sqrt{a + \frac{b}{x}}}{b^{3}} + \frac{4 a \left (a + \frac{b}{x}\right )^{\frac{3}{2}}}{3 b^{3}} - \frac{2 \left (a + \frac{b}{x}\right )^{\frac{5}{2}}}{5 b^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/x**4/(a+b/x)**(1/2),x)

[Out]

-2*a**2*sqrt(a + b/x)/b**3 + 4*a*(a + b/x)**(3/2)/(3*b**3) - 2*(a + b/x)**(5/2)/
(5*b**3)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0345345, size = 40, normalized size = 0.7 \[ -\frac{2 \sqrt{a+\frac{b}{x}} \left (8 a^2 x^2-4 a b x+3 b^2\right )}{15 b^3 x^2} \]

Antiderivative was successfully verified.

[In]  Integrate[1/(Sqrt[a + b/x]*x^4),x]

[Out]

(-2*Sqrt[a + b/x]*(3*b^2 - 4*a*b*x + 8*a^2*x^2))/(15*b^3*x^2)

_______________________________________________________________________________________

Maple [A]  time = 0.008, size = 44, normalized size = 0.8 \[ -{\frac{ \left ( 2\,ax+2\,b \right ) \left ( 8\,{a}^{2}{x}^{2}-4\,abx+3\,{b}^{2} \right ) }{15\,{b}^{3}{x}^{3}}{\frac{1}{\sqrt{{\frac{ax+b}{x}}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/x^4/(a+b/x)^(1/2),x)

[Out]

-2/15*(a*x+b)*(8*a^2*x^2-4*a*b*x+3*b^2)/x^3/b^3/((a*x+b)/x)^(1/2)

_______________________________________________________________________________________

Maxima [A]  time = 1.4461, size = 63, normalized size = 1.11 \[ -\frac{2 \,{\left (a + \frac{b}{x}\right )}^{\frac{5}{2}}}{5 \, b^{3}} + \frac{4 \,{\left (a + \frac{b}{x}\right )}^{\frac{3}{2}} a}{3 \, b^{3}} - \frac{2 \, \sqrt{a + \frac{b}{x}} a^{2}}{b^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(a + b/x)*x^4),x, algorithm="maxima")

[Out]

-2/5*(a + b/x)^(5/2)/b^3 + 4/3*(a + b/x)^(3/2)*a/b^3 - 2*sqrt(a + b/x)*a^2/b^3

_______________________________________________________________________________________

Fricas [A]  time = 0.221959, size = 51, normalized size = 0.89 \[ -\frac{2 \,{\left (8 \, a^{2} x^{2} - 4 \, a b x + 3 \, b^{2}\right )} \sqrt{\frac{a x + b}{x}}}{15 \, b^{3} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(a + b/x)*x^4),x, algorithm="fricas")

[Out]

-2/15*(8*a^2*x^2 - 4*a*b*x + 3*b^2)*sqrt((a*x + b)/x)/(b^3*x^2)

_______________________________________________________________________________________

Sympy [A]  time = 6.7646, size = 813, normalized size = 14.26 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/x**4/(a+b/x)**(1/2),x)

[Out]

-16*a**(15/2)*b**(9/2)*x**5*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*a*
*(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2)) -
 40*a**(13/2)*b**(11/2)*x**4*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*a
**(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2))
- 30*a**(11/2)*b**(13/2)*x**3*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*
a**(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2))
 - 10*a**(9/2)*b**(15/2)*x**2*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*
a**(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2))
 - 10*a**(7/2)*b**(17/2)*x*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*a**
(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2)) -
6*a**(5/2)*b**(19/2)*sqrt(a*x/b + 1)/(15*a**(11/2)*b**7*x**(11/2) + 45*a**(9/2)*
b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2)) + 16*a**
8*b**4*x**(11/2)/(15*a**(11/2)*b**7*x**(11/2) + 45*a**(9/2)*b**8*x**(9/2) + 45*a
**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2)) + 48*a**7*b**5*x**(9/2)/(15*
a**(11/2)*b**7*x**(11/2) + 45*a**(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2)
 + 15*a**(5/2)*b**10*x**(5/2)) + 48*a**6*b**6*x**(7/2)/(15*a**(11/2)*b**7*x**(11
/2) + 45*a**(9/2)*b**8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*
x**(5/2)) + 16*a**5*b**7*x**(5/2)/(15*a**(11/2)*b**7*x**(11/2) + 45*a**(9/2)*b**
8*x**(9/2) + 45*a**(7/2)*b**9*x**(7/2) + 15*a**(5/2)*b**10*x**(5/2))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.250839, size = 103, normalized size = 1.81 \[ -\frac{2 \,{\left (15 \, a^{2} b^{16} \sqrt{\frac{a x + b}{x}} - \frac{10 \,{\left (a x + b\right )} a b^{16} \sqrt{\frac{a x + b}{x}}}{x} + \frac{3 \,{\left (a x + b\right )}^{2} b^{16} \sqrt{\frac{a x + b}{x}}}{x^{2}}\right )}}{15 \, b^{19}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(a + b/x)*x^4),x, algorithm="giac")

[Out]

-2/15*(15*a^2*b^16*sqrt((a*x + b)/x) - 10*(a*x + b)*a*b^16*sqrt((a*x + b)/x)/x +
 3*(a*x + b)^2*b^16*sqrt((a*x + b)/x)/x^2)/b^19